package com.mytwo.mysecond.mapper;

import com.mytwo.mysecond.bean.UserDO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserDOMapper{

    Long insert(UserDO entity);

    Long update(UserDO entity);

    Long deleteByPrimary(Long id);

    UserDO getByPrimary(Long id);

    UserDO getByUserNameAndPassword(String userName, String passWord);


}
